package com.sayice.robotconflict.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 项目配置
 *
 * @author shubing
 */
@Component
@ConfigurationProperties(prefix = "robotconflict")
public class RobotConflictConfig {
    /**
     * Netty服务器端口号
     */
    private static int gamePort;
    
    public static int getGamePort() {
        return gamePort;
    }
    
    public void setGamePort(int gamePort) {
        RobotConflictConfig.gamePort = gamePort;
    }
}
